package sysRecomd;


public class SquareLoss extends ClassificationRevue {

	@Override
	protected double cout(double f, double y) {
		return(f - y)*(f - y);
	}

	@Override
	protected double gradient(double f, double y) {
		return (f - y);
	}

}
